package com.un.web.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.un.core.entity.BaseEntity;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* @Author xingjian
* @Date 2023-01-30
**/

/**
 * sys_file
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_file")
public class SysFile extends BaseEntity {
    /**
     * 原始名
     */
    @TableField(value = "original_name")
    private String originalName;

    /**
     * 图片名
     */
    @TableField(value = "`name`")
    private String name;

    @TableField(value = "upload_time")
    private Date uploadTime;

    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 地址
     */
    @TableField(value = "url")
    private String url;

    @TableField(value = "`path`")
    private String path;

    /**
     * 类型
     */
    @TableField(value = "`type`")
    private String type;

    /**
     * isDelete
     */
    @TableField(value = "data_status")
    private Integer dataStatus;

    private  String md5;
}